package com.bokee.archerwq.lab;

public class Max {

	public static int maximum(int a, int b) {
		int c = a - b;
		int k = (c >> 31) & 0x1;
		int max = a - k * c;
		return max;
	}

	public static void main(String[] args) {
		System.out.println(maximum(1, 5));
		System.out.println(maximum(3, 1));
		System.out.println(maximum(-3, 1));
	}

}
